# _*_ coding:UTF-8 _*_
import get_localhost_ip

import os

ip = get_localhost_ip.get_localhost_ip()

b = os.system('ping   %s' % ip)  # 实现pingIP地址的功能，-c1指发送报文一次，-w1指等待1秒

print(b)
